% This file runs assigns the parameters values for Figure 8a, runs the
% dynare code, and saves the irfs in \Replication_files\mat_files.

clear all
cd ../m_files
set_parameters(2.48,0,1.51,-.52,0.8,15,1,0,8)
cd ../mod_files
dynare a15_markups_cbase.mod

cd ../mat_files
save('fig8a_irfs_w_inertia_rev.mat','y_e','c_e','z_a_e','dy_e','q_e','mu_e')
cd ../mod_files

cd ../m_files
set_parameters(0,0,1.51,-.52,0.8,15,1,0,8)
dynare a15_markups_cbase.mod

cd ../mat_files
save('fig8a_irfs_wo_inertia_rev.mat','y_e','c_e','z_a_e','dy_e','q_e','mu_e')
cd ../m_files
